package com.atguigu.guli.service.vod.service;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author jack
 * date 2024-07-02 18:07
 */
public interface LocalMediaService {
    String uploadVideo(MultipartFile file, String originalFilename);

    void removeVideo(String vodId);

    void removeVideoByIdList(List<String> videoIdList);

    ResponseEntity<Object> playVideo(Long videoId);
}
